<?php
	session_start();
	
	//validate user logged in; if not, redirect to login
	if(!isset($_SESSION['employee_id'])){
		header("location:../login.php");
	}
	
	//redirect to non-mobile version if non-mobile
	include "../controller/php/mobile_handler.php";
	if(!IsMobile()) {
		header("location:../home.php");
	}
?>

<html>
	<head>
		
	</head>
	<body>
		<?php
			include "../controller/php/navigation.php";
				
			echo renderMobileNavigation();
		?>
	</body>
</html>